class ActionObj(object):
    ACTION = None
    RETURN_BYTES = False


class FileList(ActionObj):
    ACTION = b'\x55'

    def __init__(self, filePath, containSize=True):
        self.filePath = filePath
        self.containSize = containSize


class FileContent(ActionObj):
    ACTION = b'\x56'
    RETURN_BYTES = True

    def __init__(self, filePath, maxSize=1024):
        self.filePath = filePath
        self.maxSize = maxSize